package com.bonc.ioc.demo.exception;

/**
 * 业务逻辑异常类
 *
 * @author Rain Z on 2019/11/12
 */
public class McpException extends RuntimeException {
    private String msgCode;

    public McpException() {
        super();
    }

    public McpException(String message) {
        super(message);
    }

    public McpException(String message, String msgCode) {
        super(message);
        this.msgCode = msgCode;
    }

    public String getMsgCode() {
        return msgCode;
    }
}
